import Vue from 'vue'
import Router from 'vue-router'
import UserCenter from '@/components/userCenter'
import Login from '@/components/login'
import shoporder from '@/components/shoporder'
import mealorder from '@/components/mealorder'
Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',name: 'UserCenter',component: UserCenter},
    {path: '/login',component: Login},
    {path: '/shoporder',component: shoporder},
    {path: '/mealorder',component: mealorder},
  ]
})
